专利摘要:
The invention relates to an input filter stage and to a method for filtering a data stream. The input filter stage comprises a register chain (1), which is connected to an input line (2) and has a plurality of series-connected registers (1A, 1B, 1C), and a switching device (4, 5, 8) connected to an output line (9) and to the register chain (1) in order to switch the output line (9), a signal input of a first register (1A) in the register chain (1) being connected to the input line (2), and a signal input of a subsequent register (1B or 1C) in the register chain (1) being connected to a respective signal output of a preceding register (1A or 1B) in the register chain (1), a clock input for the plurality of registers (1A, 1B, 1C) being connected to a respective clock line (3) which can be used to transmit a sampling signal (T) at a sampling frequency, the sampling frequency being higher than a maximum data transmission frequency of the data stream, and the switching device (4, 5, 8) being connected to the register chain (1) such that the output line (9) can be switched to a logic level of the signal outputs of the plurality of registers (1A, 1B, 1C) when output signals which are produced at each of the signal outputs of the plurality of registers (1A, 1B, 1C) are at the same logic level.
公开号:US20010004731A1
申请号:US09/737,077
申请日:2000-12-14
公开日:2001-06-21
发明作者:Michael Drexler
申请人:Deutsche Thomson Brandt GmbH;
IPC主号:H04L25-085
专利说明:
[0001] The invention relates to an input filter stage for a data stream, to an I2C bus interface, to an integrated circuit and to a method for filtering a data stream. [0001]
[0002] During serial data transmission operations, particularly during data transmission via unscreened lines, as in the case of the I2C bus system, for example, interference frequently arises in the signals. This interference is, by way of example, voltage spikes and interference pulses caused by crosstalk or reflection or by electromagnetic influence. [0002]
[0003] Particularly when no suitable termination of the bus is provided, line reflections are customary in an I2C bus system, in which a changing number of input interfaces can additionally be connected. Furthermore, long line paths can additionally make the bus more difficult to tune if not all of the input stages are located on a printed circuit board. [0003]
[0004] Input filter stages are used to suppress such interference. The input stages used are frequently Schmitt triggers, which ignore signal fluctuations below or above particular threshold values and therefore pass on only clearly detectable signal level changes to the logic connected downstream. Such circuits are frequently used for “debouncing” keys on keyboards, for example. [0004]
[0005] However, a Schmitt trigger has the disadvantage that interference pulses and voltage spikes which have amplitude values higher than the signals are rated as signals and are then erroneously passed on to the logic connected downstream. [0005] SUMMARY OF THE INVENTION
[0006] It is the object of the invention to provide an input filter stage and a method for filtering a data stream supplied via an input line in which interference, particularly interference pulses and voltage spikes, is reliably filtered out, the aim being for the circuit complexity for the input filter stage to be as low as possible. [0006]
[0007] This object is achieved by the features specified in the independent claims. [0007]
[0008] The invention provides an input filter stage for filtering a data stream which has a register chain, which is connected to an input line and has a plurality of series-connected registers, and a switching device connected to an output line and to the register chain in order to switch the output line, a signal input of a first register in the register chain being connected to the input line, and a signal input of a subsequent register in the register chain being connected to a respective signal output of a preceding register in the register chain, a clock input for the plurality of registers being connected to a respective clock line which can be used to transmit a sampling signal at a sampling frequency, the sampling frequency being higher than a maximum data transmission frequency of the data stream, and the switching device being connected to the register chain such that the output line can be switched to a logic level of the signal outputs of the plurality of registers when output signals which are produced at each of the signal outputs of the plurality of registers are at the same logic level. The essential advantage obtained by the invention over the prior art is that little circuit complexity is used to provide a possibility for suppressing interference on bus lines in data streams, particularly for suppressing interference which occurs as a result of line reflections or crosstalk. [0008]
[0009] The method disclosed can be applied to any interference-affected signal line which is sampled using a clock whose frequency is higher than the data transmission frequency in the data stream. [0009]
[0010] In one embodiment of the invention, provision may be made for the plurality of registers each to be in the form of D-type flip-flops in the context of a shift register. [0010]
[0011] One advantageous development of the invention provides that the register chain comprises three registers, which means that only a minimum level of circuit complexity is required. [0011]
[0012] Provision is expediently made for the sampling frequency to be a plurality of times higher than the maximum frequency of the data transmission, preferably to be approximately 50 MHz, which improves the quality of the interference elimination. [0012]
[0013] In one development of the invention, the circuit device comprises an AND gate, a NOR gate and a further register, inputs of the AND gate and of the NOR gate each being connected to the signal output of one of the plurality of registers, and outputs of the AND gate and of the NOR gate each being connected to inputs of the further register. This allows the circuit device to be formed using simple logic gates. [0013]
[0014] The filter input stage according to the invention may advantageously be used in an I2C bus system or in an integrated circuit. [0014]
[0015] The method claims, correspondingly, have the advantages cited in the context of the apparatus claims. [0015]
[0016] In the case of the method, provision may expediently be made for the output line to be switched by means of the SR-type flip-flop, an S-input of the SR-type flip-flop assuming a logic “1”level only when the same logic level of the signal outputs of the registers is a logic “1”level, and an R-input of the SR-type flip-flop assuming a logic “1”level only when the same logic level of the signal outputs of the registers is a logic “0”level. [0016] BRIEF DESCRIPTION OF THE DRAWING
[0017] An illustrative embodiment of the invention is described below with the aid of a drawing, in which FIG. 1 shows a schematic illustration of an input filter stage. [0017] DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] FIG. 1 shows an embodiment of the invention in which a register chain [0018] 1 comprises three registers 1A, 1B and 1C connected in succession. Connected to an input D1A of a first register 1A is an input line 2 which is used to transmit a serial data stream. A noninverting output Q1A of the first register 1A is connected to an input D1B of a second register 1B; the output Q2B of the latter is connected to an input D1C of a third register 1C in the register chain 1. Each register in the register chain 1 is connected to a clock line 3, which is used to transmit a sampling clock signal T.
[0019] The noninverting outputs Q[0019] 1A, Q1B, Q1C of the registers 1A, 1B, 1C are each connected to inputs of an AND gate 4 and of a NOR gate 5. An output 6 of the AND gate 4 and an output 7 of the NOR gate 5 are each connected to a further register 8, to which an output line 9 is connected.
[0020] The AND gate [0020] 4, the NOR gate 5 and the further register 8 together form a switching device for switching a logic level on the output line 9. The output 6 of the AND gate 4 switches to a “1”level only when the outputs Q1A, Q1B, Q1C of all three registers 1A, 1B, 1C have a logic “1”level. Likewise, the output 7 of the NOR gate 5 switches to a logic “1”level only when all the outputs Q1A, Q1B, Q1C of the registers 1A, 1B, 1C are at the logic “0”level.
[0021] The output [0021] 6 of the AND gate 4 is connected to an S-input of the further register 8, which is in the form of an SR-type flip-flop. The output 7 of the NOR gate 5 is connected to an R-input of the SR-type flip-flop. The further register 8, which is in the form of an SR-type flip-flop, is clocked by means of the sampling clock signal T, in the same way as the three registers 1A, 1B, 1C in the register chain 1.
[0022] If the S-input of the SR-type flip-flop [0022] 8 assumes a “1”level, the output signal from the input filter stage is switched to logic “1” upon the next clock signal edge. If the R-input of the SR-type flip-flop 8 assumes a logic “1”level, the output signal is reset to “0”upon the next clock signal edge. If the S-input and the R-input both have a logic “0”, the output signal maintains the previous value (value stored for the preceding clock signal edge of the sampling clock signal T).
[0023] The state in the SR-type flip-flop [0023] 8 in which both the S-input and the R-input assume a logic “1”level does not arise, because the AND gate 4 and the NOR gate 5 each receive the same input signals, and therefore always deliver one “1”level for various input conditions. If the output 6 of the AND gate 4 has a “1”, the output 7 of the NOR gate 5 can never have a “1”.
[0024] If the signal level of the input signal changes from “0”to “1”, this logic “1”level is transferred to the first register [0024] 1A in the register chain 1 with the next rising edge of the sampling clock signal T, i.e. the logic level at the output Q1A of the first register changes from “0”to “1”. Since this output Q1A is connected to the input D1B of the second register 1B, the logic “1”level is transferred to the second register 1B with the next rising edge of the sampling clock signal T. This continues until all the registers A, 1B, 1C in the register chain 1 store the logic “1”level, provided that the input signal does not change during this time.
[0025] Since a frequency of the sampling clock signal T is a plurality of times higher than a frequency of the serial data transmitted via the input line [0025] 2, and hence changes in the serial data or in the input signal based thereon are very much slower than changes in the sampling clock signal T, a logic “1”is generally applied to the input if the signal profile is not subject to interference. After three rising edges of the sampling clock signal T, this logic “1”has been transferred into the three registers 1A, 1B, 1C in the register chain 1. The outputs Q1A, Q1B, Q1C thereof each have a logic “1”level.
[0026] With the change of the output Q[0026] 1C of the third register 1C in the register chain 1 from logic “0”to logic “1”, the output 6 of the AND gate 4 changes to “1”. As a result of this, a “1”is applied to the S-input of the SR-type flip-flop 8 and, with the next rising edge of the sampling clock signal T, connects the logic “1”level to the output of the SR-type flip-flop 8, i.e. the level change in the input signal on the input line 2 from “0”to “1”is passed on to the output of the RS-type flip-flop 8 after four rising edges of the sampling clock signal T.
[0027] If the level of the input signal changes in the opposite direction from “1”to “0”, this “0”level is transferred into the registers [0027] 1A, 1B, 1C in the register chain 1 within three rising edges of the sampling clock signal T, in the same way. As soon as there is a logic “0”at all three outputs Q1A, Q1B, Q1C of the registers, the NOR gate 5 switches its output 7 to the logic “1”level, and a “1”is applied to the R-input of the SR-type flip-flop 8 and, with the next rising edge of the sampling clock signal T, resets the SR-type flip-flop 8, so that the output signal changes from “1”to the “0”. The change in the input signal from “1”to “0”is thus likewise transferred within four rising edges of the sampling clock signal T.
[0028] The frequency of the sampling clock signal T is preferably a multiple of the frequency of the input signal (of the serial data), with the result that no significant delays arise between an input signal change and the change in the output signal. In the case of the embodiment described, any signal pulse which is smaller than the threefold clock period of the sampling clock signal T is not passed on to the output. Since the frequency of the input signals is very much lower than that of the sampling clock signal T, such short pulses are usually just interference pulses or voltage spikes, which are unwanted and must not be passed on to the output of the input filter stage. [0028]
[0029] The register chain [0029] 1, having three registers 1A, 1B, 1C connected in succession, which is used in the embodiment described above serves to illustrate the principle of the invention. Naturally, the register chain 1 can also comprise more than three registers. The register chain 1 and the frequency of the sampling clock signal T need to be tuned such that the register chain 1 is long enough to filter the longest reflections or interference out of the input signal without suppressing valid data signals in the process. In this context, the maximum duration of an interference signal filtered out by an input filter is obtained from multiplying the number of registers in the register chain 1 by the clock period of the sampling clock signal T.
[0030] An input filter can thus be configured for any desired area. This is done when designing the input filter, first by choosing a suitable number of registers for the register chain [0030] 1. Secondly, the frequency of the sampling clock signal T is selected. For this, it should be noted that the larger the interference pulses which are able to be suppressed by this input filter, the greater the delay also in the input filter between the input signal and the output signal.
[0031] In the embodiment described, the registers in the register chain [0031] 1 are in the form of D-type flip-flops. However, it is also possible to use other register types or switching elements suitable for constructing a shift register.
[0032] The AND gate [0032] 4, the NOR gate 5 and the SR-type flip-flop 8 together form one possible switching apparatus for switching the output line 9 to the logic level of the registers 1A, 1B, 1C in the register chain 1 when the outputs Q1A, Q1B, Q1C of all three registers 1A, 1B, 1C have assumed either a “1”level or a “0”level. Such a switching apparatus can naturally also be produced using other switching elements if the logic function on which the invention is based is retained. The essential feature here is that the output signal level of the input filter changes only when a change in the input signal affects all the outputs Q1A, Q1B, Q1C of the registers 1A, 1B, 1C in the register chain 1.
[0033] The input filter stage described can be used in an I2C bus system, for example. Since, in the I2C bus, serial data is usually transmitted via unscreened lines, the transmission rates are limited. By way of example, the maximum frequency of the input signals in the embodiment described above is 400 kHz and the sampling clock rate is 50 MHz. Any interference pulse of less than 3×20 ns is filtered out by this input filter stage. This input filter stage can naturally be used to filter serial data streams irrespective of the particular transmission protocol and irrespective of the data frequency. [0033]
[0034] The digital circuit shown schematically in FIG. 1 can be produced with little outlay and can preferably be formed, together with logic connected downstream or an evaluation circuit, on an integrated circuit. The additional hardware involvement as a result of the input filter is negligibly low by comparison with today's chip sizes. [0034]
[0035] To implement the invention in its various embodiments, the invention's features disclosed in the description above, the claims and the drawing can be an essential part both individually and in any desired combination. [0035]
[0036] The use of the invention has been explained for the I2C bus by way of example. This is a bus which is used to transmit the data words serially. The invention may also be used in bus systems in which the data words are transmitted in parallel, however. In this case, the register chain mentioned needs to be provided for each individual data line. [0036]
权利要求:
Claims (13)
[1" id="US-20010004731-A1-CLM-00001] 1. Input filter stage for filtering a data stream supplied via an input line, characterized by a register chain (1), which is connected to the input line (2) and has a plurality of series-connected registers (1A, 1B, 1C), and a switching device (4, 5, 8) connected to an output line (9) and to the register chain (1) in order to switch the output line (9), a signal input of a first register (1A) in the register chain (1) being connected to the input line (2), and a signal input of a subsequent register (1B or 1C) in the register chain (1) being connected to a respective signal output of a preceding register (1A or 1B) in the register chain (1), a clock input for the plurality of registers (1A, 1B, 1C) being connected to a respective clock line (3) which can be used to transmit a sampling signal (T) at a sampling frequency, the sampling frequency being higher than a maximum data transmission frequency of the data stream, and the switching device (4, 5, 8) being connected to the register chain (1) such that the output line (9) can be switched to a logic level of the signal outputs of the plurality of registers (1A, 1B, 1C) when output signals which are produced at each of the signal outputs of the plurality of registers (1A, 1B, 1C) are at the same logic level.
[2" id="US-20010004731-A1-CLM-00002] 2. Input filter stage according to
claim 1 , characterized in that the plurality of registers (1A, 1B, 1C) are each in the form of D-type flip-flops.
[3" id="US-20010004731-A1-CLM-00003] 3. Input filter stage according to
claim 1 , characterized in that the register chain (1) comprises three registers (1A, 1B, 1C).
[4" id="US-20010004731-A1-CLM-00004] 4. Input filter stage according to
claim 1 , characterized in that the sampling frequency is a plurality of times higher than the maximum data transmission frequency of the data stream.
[5" id="US-20010004731-A1-CLM-00005] 5. Input filter stage according to
claim 1 , characterized in that the sampling frequency is approximately 50 MHz.
[6" id="US-20010004731-A1-CLM-00006] 6. Input filter stage according to
claim 1 , characterized in that the circuit device comprises an AND gate (4), a NOR gate (5) and a further register (8), inputs of the AND gate (4) and of the NOR gate (5) each being connected to the signal output of one of the plurality of registers (1A, 1B, 1C), and outputs of the AND gate (4) and of the NOR gate (5) each being connected to inputs of the further register (8).
[7" id="US-20010004731-A1-CLM-00007] 7. Input filter stage according to
claim 6 , characterized in that the further register (8) is in the form of an SR-type flip-flop.
[8" id="US-20010004731-A1-CLM-00008] 8. I2C bus interface, characterized by an input filter stage according to
claim 1 .
[9" id="US-20010004731-A1-CLM-00009] 9. Integrated circuit, characterized by an input filter stage according to
claim 1 .
[10" id="US-20010004731-A1-CLM-00010] 10. Method for filtering a data stream in a filter input stage which comprises a serial register chain (1), connected to an input line (2), and a switching device (4, 5, 8), connected to the serial register chain (1) and to an output line (9), the method having the following method steps:
the data is serially transferred using the serial register chain (1), registers (1A, 1B, 1C) in the serial register chain (1) each being clocked at a sampling frequency which is higher than a maximum data transmission frequency of the data stream; and
the switching device (4, 5, 8) is used to switch the output line (9) to a logic output level when signal outputs of the registers (1A, 1B, 1C) in the serial register chain (1) are at the same logic level.
[11" id="US-20010004731-A1-CLM-00011] 11. Method according to
claim 10 , where the circuit device (4, 5, 8) comprises an SR-type flip-flop (8), characterized in that the output line (9) is switched by means of the SR-type flip-flop (8), an S-input of the SR-type flip-flop (8) assuming a logic “1”level only when the same logic level of the signal outputs of the registers (1A, 1B, 1C) is a logic “1”level, and an R-input of the SR-type flip-flop (8) assuming a logic “1”level only when the same logic level of the signal outputs of the registers (1A, 1B, 1C) is a logic “0”level.
[12" id="US-20010004731-A1-CLM-00012] 12. Method according to
claim 10 , characterized in that the sampling frequency is a plurality of times higher than the maximum data transmission frequency of the data stream on the input line.
[13" id="US-20010004731-A1-CLM-00013] 13. Method according to
claim 10 , characterized in that the sampling frequency is approximately 50 MHz.
类似技术:
公开号 | 公开日 | 专利标题
US6175603B1|2001-01-16|System for managing signals in different clock domains and a programmable digital filter
US5537062A|1996-07-16|Glitch-free clock enable circuit
US5001374A|1991-03-19|Digital filter for removing short duration noise
US8558579B2|2013-10-15|Digital glitch filter
US5555213A|1996-09-10|Interface circuit, system and method for interfacing an electronic device and a synchronous state machine having different clock speeds
US6414540B2|2002-07-02|Input filter stage for a data stream, and method for filtering a data stream
US7183831B2|2007-02-27|Clock switching circuit
US5128970A|1992-07-07|Non-return to zero synchronizer
US5870446A|1999-02-09|Mechanism for automatically adjusting the phase of a transmission strobe clock signal to correct for misalignment of transmission clock and data signals
US5760612A|1998-06-02|Inertial delay circuit for eliminating glitches on a signal line
US5317215A|1994-05-31|Method and apparatus for frequency discriminating computer network signals
US5046075A|1991-09-03|Method and arrangement for adapting a clock to a plesiochronous data signal and for clocking the data signal with the adapted clock
US5742188A|1998-04-21|Universal input data sampling circuit and method thereof
US7446588B2|2008-11-04|Highly scalable methods and apparatus for multiplexing signals
US4949360A|1990-08-14|Synchronizing circuit
US6937953B2|2005-08-30|Circuit configuration for receiving at least two digital signals
US5185537A|1993-02-09|Gate efficient digital glitch filter for multiple input applications
US8374304B2|2013-02-12|Filter circuit for removing noise pulses from digital input signal
KR20080101495A|2008-11-21|Clock switching circuit
US6081905A|2000-06-27|Method and apparatus for generating a clock signal from a plurality of clock phases
KR0152346B1|1998-12-15|Clock switching circuit
JP2003163583A|2003-06-06|Asynchronous noise filter circuit
JPH10126228A|1998-05-15|Digital waveform shaping circuit
JPH05336091A|1993-12-17|Bus communication system
KR0170508B1|1999-03-30|Noise pulse filtering circuit
同族专利:
公开号 | 公开日
CN1176522C|2004-11-17|
DE19960785A1|2001-06-21|
US6414540B2|2002-07-02|
CN1305265A|2001-07-25|
EP1109315A3|2003-08-13|
EP1109315A2|2001-06-20|
JP2001211057A|2001-08-03|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
US20070236257A1|2006-04-11|2007-10-11|Abhay Kejriwal|Debounce circuit and method|
CN105356865A|2015-12-09|2016-02-24|深圳Tcl数字技术有限公司|Method and device for removing interference and smart television|
US20170052774A1|2015-08-18|2017-02-23|Google Inc.|User acquisition via bidding for connected device app installs|US4525635A|1982-12-15|1985-06-25|Rca Corporation|Transient signal suppression circuit|
US4585997A|1983-12-08|1986-04-29|Televideo Systems, Inc.|Method and apparatus for blanking noise present in an alternating electrical signal|
JPS6282713A|1985-10-07|1987-04-16|Hitachi Ltd|Waveform shaping circuit and magnetic picture recording and reproducing device using it|
DE3913395A1|1989-04-24|1990-10-25|Grundig Emv|DIGITAL FILTER LOGIC|
JPH02283120A|1989-04-25|1990-11-20|Toshiba Corp|Noise eliminator|
US5001374A|1989-09-08|1991-03-19|Amp Incorporated|Digital filter for removing short duration noise|
JPH0578046B2|1990-06-19|1993-10-28|Meruko Kk||
JPH0475121A|1990-07-17|1992-03-10|Mitsubishi Electric Corp|Input interface circuit for automobile|
JP2692415B2|1991-05-15|1997-12-17|日本電気株式会社|Pulse removal circuit|
DE4220557C2|1992-06-24|1999-01-07|Kommunikations Elektronik|Digital message transmission method|
US5386159A|1993-06-30|1995-01-31|Harris Corporation|Glitch suppressor circuit and method|
US5563532A|1994-01-24|1996-10-08|Advanced Micro Devices, Inc.|Double filtering glitch eater for elimination of noise from signals on a SCSI bus|
US5418486A|1994-01-28|1995-05-23|Vlsi Technology, Inc.|Universal digital filter for noisy lines|
US5553070A|1994-09-13|1996-09-03|Riley; Robert E.|Data link module for time division multiplexing control systems|
US5663675A|1995-06-07|1997-09-02|American Microsystems, Inc.|Multiple stage tracking filter using a self-calibrating RC oscillator circuit|
KR100247419B1|1997-05-27|2000-04-01|강병호|Duplexing active/standby control method using giltch delete circuit|US6914951B2|2001-07-24|2005-07-05|Hewlett-Packard Development Company, L.P.|Method and apparatus for a digital logic input signal noise filter|
JP2006332945A|2005-05-25|2006-12-07|Nec Electronics Corp|Semiconductor integrated circuit|
US7999596B2|2009-03-26|2011-08-16|Texas Instruments Incorporated|Digital suppression of spikes on an 12C bus|
US8149038B1|2010-03-22|2012-04-03|Altera Corporation|Techniques for phase adjustment|
US9734121B2|2014-04-28|2017-08-15|Qualcomm Incorporated|Sensors global bus|
US10417172B2|2014-04-28|2019-09-17|Qualcomm Incorporated|Sensors global bus|
WO2015186175A1|2014-06-02|2015-12-10|三菱電機株式会社|Noise analysis device, electronic device, and noise source specification system|
法律状态:
2000-12-14| AS| Assignment|Owner name: DEUTSCHE THOMSON-BRANDT GMBH, GERMANY Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:DREXLER, MICHAEL;REEL/FRAME:011496/0940 Effective date: 20001012 |
2005-11-30| FPAY| Fee payment|Year of fee payment: 4 |
2010-02-08| REMI| Maintenance fee reminder mailed|
2010-07-02| LAPS| Lapse for failure to pay maintenance fees|
2010-08-02| STCH| Information on status: patent discontinuation|Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
2010-08-24| FP| Expired due to failure to pay maintenance fee|Effective date: 20100702 |
优先权:
申请号 | 申请日 | 专利标题
DE19960785.0||1999-12-16||
DE19960785||1999-12-16||
DE1999160785|DE19960785A1|1999-12-16|1999-12-16|Input filter stage for a data stream and method for filtering a data stream|
[返回顶部]